package com.flying.oop.poly;

/**
 * @ClassName: Sub
 * @author: 刘鹏飞
 * @date 2023/7/20 18:19
 * @Description:
 */

class Sub extends Base{

    int m=10;
    static int i=666;
    public Sub() {
        super.method(70);
    }

    {
        System.out.println("sub");
    }

    @Override
    public void method(int j) {
        System.out.println("sub : "+j);
    }

    public static void test(){
        System.out.println("Sub里的静态方法");
    }
}